import { createContext, useContext } from 'react'

export const MsgContext = createContext()
export const ThemeContext = createContext()

export default () => {
  const theme = useContext(ThemeContext)
  const msg = useContext(MsgContext)
  return {
    theme,
    msg
  }
}


